//Window Class Header File
//Class for managing the opening and closing of windows
#pragma once

	//Include Files//
#include <Windows.h>

	//Globals and Constants//
LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);

/**********************************************************************************************************************\
|	Window Class Declaration																						   |
\**********************************************************************************************************************/
class Window
{
protected:
	WNDCLASSEX	m_WinClass;						/*The WNDCLASSEX structure is similar to the WNDCLASS structure. There* 
												 *are two differences. WNDCLASSEX includes the cbSize member, which   * 
												 *specifies the size of the structure, and the hIconSm member, which  *
												 *contains a handle to a small icon associated with the window class. */

	char*		m_GameName;
	char*		m_WindowName;
	int			m_ScreenWidth;
	int			m_ScreenHeight;
	bool		m_WindowOpen;

public:
	Window();

	HWND OpenWindow(int nCmdShow, HWND hWnd, HINSTANCE hInstance);
	void CloseWindow();

	bool WindowOpen();

	~Window();
};	//End Window Class